from scrapy import cmdline
cmdline.execute('scrapy crawl zhidao'.split())# -s JOBDIR=dir/001
'卧槽'